package com.chenxingnet.dao;

import com.chenxingnet.dto.Remind;
import com.chenxingnet.dto.RemindExample;
import com.chenxingnet.dto.Waybills;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface RemindMapper {
    int countByExample(RemindExample example);

    int deleteByExample(RemindExample example);

    int deleteByPrimaryKey(Integer rid);

    int insert(Remind record);

    int insertSelective(Remind record);

    List<Remind> selectByExample(RemindExample example);

    Remind selectByPrimaryKey(Integer rid);

    int updateByExampleSelective(@Param("record") Remind record, @Param("example") RemindExample example);

    int updateByExample(@Param("record") Remind record, @Param("example") RemindExample example);

    int updateByPrimaryKeySelective(Remind record);

    int updateByPrimaryKey(Remind record);
	
	
	
	List<Remind> getRemindsBydepid(Waybills record);
	 
	List<Remind> getAllReminds();
	
	Remind getRemByWid(@Param("wid")Integer wid);
	
	int updateByWid(Remind remind);
	
	Remind getDayByWid(@Param("wid")Integer wid);
	
}